package model;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1593054485251702976L;
	private String text;
	private int userID;
	private int likes;
	private int dislikes;
	private Date date;
	
	public Comment(){
		super();
	}
	
	public Comment(String text, int userID, int likes, int dislikes, Date date){
		super();
		this.setText(text);
		this.userID=userID;
		this.likes=likes;
		this.dislikes=dislikes;
		this.date=date;
	}
	
	
	
	
	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public int getLikes() {
		return likes;
	}
	public void setLikes(int likes) {
		this.likes = likes;
	}
	public int getDislikes() {
		return dislikes;
	}
	public void setDislikes(int dislikes) {
		this.dislikes = dislikes;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
